O!-LOLA - Extending the Deductive Database System LOLA by Object-Oriented Logic Programming
نویسنده
چکیده
This paper presents the declarative extension of the deductive database system LOLA to the object-oriented deductive database system O!-LOLA. The model used for O!-LOLA is \objects as theories", extended by state evolution. O!-LOLA combines logic programming and OO programming in two diierent w ays: First, methods are implemented as logic programs. These methods can be inherited, encapsulated and overloaded. Second, logic programs can be deened over classes, meta-classes, instances, attributes and values. Dynamic updates of attributes of objects and dynamic instantiations of classes are supported. O!-LOLA is implemented as a preprocessor. O!-LOLA programs are transformed into LOLA rules and facts, which are evaluated set-oriented and bottom-up, using xpoint s e m a n tics. Some object-oriented features concerning dynamic aspects are handled via built-in predicates in LOLA. We describe the applied theory, the system and the preprocessor, including an example of how methods are translated and we discuss dynamic updates of objects in O!-LOLA. The beneets of our system in contrast to others are: a single integrated language, clear semantics and a set-oriented evaluation. O!-LOLA uses xpoint semantics (not any procedural semantics like other systems) and still evaluates set-oriented (and not in a mixed manner like other systems). Thus, we can fully use all optimization techniques developed for deductive databases and gain a very eecient system. 1. Introduction. Within the last years the two main areas of research in extending database programming languages have been deduc-tive database languages and object-oriented database languages. Logic (or deductive) databases augment the relational model by Herbrand terms in
منابع مشابه
LOLA - A Logic Language for Deductive Databases and its Implementation
The purpose of this paper is to give an overview of the LOLA logic programming system which serves as the kernel of a deductive database system. The LOLA language, the query evaluation strategy, the available query optimiaations, the overall compiler architecture, and some implementational details and performance measurements are presented. The LOLA-system is fully implemented in Common Lisp an...
متن کاملAMOS: A Natural Language Parser Implemented as a Deductive Database in LOLA
In this paper we present the set-oriented bottom-up parsing system AMOS which is a major application of the deductive database system LOLA. AMOS supports the morpho-syntactical analysis of old Hebrew and has now been operationally used by linguists for a couple of years. The system allows the declarative specification of Definite Clause Grammar rules. Due to the set-oriented bottom-up evaluatio...
متن کاملGenerating Explanation Trees even for Negations in Deductive DataBase Systems
Although there were enormous research efforts on explanation and debugging tools for Prolog in the last years, good tools for bottom-up evaluating logic programming systems are still missing, since the generation of the underlying proof trees matches several problems in presence of negation and recursion. This paper wants to fill the gap and presents a source-to-source transformation to compute...
متن کاملMontague Grammars as Deductive Databases
This paper presents a technique for further applications of deductive databases in the eld of natural language processing. Although there were enormous research eeorts on analyzing the semantics of natural languages (NL), especially using Montague grammars (PTQ) for Prolog, corresponding programs for deductive databases are still missing, since range restriction is required in nearly all deduct...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Informatica, Lith. Acad. Sci.
دوره 9 شماره
صفحات -
تاریخ انتشار 1998